/*
 * @Author: your name
 * @Date: 2022-04-08 16:34:08
 * @LastEditTime: 2022-07-25 00:48:54
 * @LastEditors: YNT 2501512800@qq.com
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \22-03-19 智慧社区\components\list\communityCard\index.js
 */
Component({
  options: {
    styleIsolation: 'shared',
  },
  properties: {
    info: {
      type: Object,
    },
  },

  /**
   * 组件的初始数据
   */
  data: {},

  lifetimes: {
    attached: function () {},
  },
  /**
   * 组件的方法列表
   */
  methods: {
    skipDetail(e) {
      let data = e.currentTarget.dataset.info
      this.triggerEvent('item', data)
    },
  },
})
